function Car(make,model,year) {
    this.make = make;
    this.model = model;
    this.year =year;
}
Car.prototype.start = function () {
    return "the car is starting..."
}
const myCar =new Car('xx','oo',2000);
console.log(myCar.start());